---
id: 655a10e4a620fc091ba43b3d
title: Passo 4
challengeType: 20
dashedName: step-4
---

# --description--

Inside the `__init__` method, delete `pass` and assign the value of the `key` parameter to the `key` attribute of the node using `self.key`.

This means that the `key` attribute of the `TreeNode` instance will be set to the value passed during the object's creation.

# --hints--

You should assign the value of the `key` parameter to the `key` attribute of the node using `self.key`.

```js
({ test: () => assert.match(code, /^\s{8}self\.key\s*=\s*key/m) })
```

# --seed--

## --seed-contents--

```py
--fcc-editable-region--
class TreeNode:
    def __init__(self, key):
        pass
--fcc-editable-region--
```
